class WendListEntity {
	String msg;
	int code;
	List<WendListData> data;

	WendListEntity({this.msg, this.code, this.data});

	WendListEntity.fromJson(Map<String, dynamic> json) {
		msg = json['msg'];
		code = json['code'];
		if (json['data'] != null) {
			data = new List<WendListData>();(json['data'] as List).forEach((v) { data.add(new WendListData.fromJson(v)); });
		}
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['msg'] = this.msg;
		data['code'] = this.code;
		if (this.data != null) {
      data['data'] =  this.data.map((v) => v.toJson()).toList();
    }
		return data;
	}
}

class WendListData {
	int agree;
	String title;
	int questionId;
	int status;

	WendListData({this.agree, this.title, this.questionId, this.status});

	WendListData.fromJson(Map<String, dynamic> json) {
		agree = json['agree'];
		title = json['title'];
		questionId = json['question_id'];
		status = json['status'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['agree'] = this.agree;
		data['title'] = this.title;
		data['question_id'] = this.questionId;
		data['status'] = this.status;
		return data;
	}
}
